from mitmproxy import http

def request(flow:http.HTTPFlow):
    print('开始获取请求')
    flow.request.headers['user-agent']='zdz123123123'
    flow.request.cookies['sessionid']='dgfdjh.hgilghljkgytdchgj.123456'


def response(flow):
    print('开始获取响应')
